home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / Squeaky.swf / scripts / frame_290 / PlaceObject2_256_37 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2005-08-04  |  260 b   |  15 lines

  1. onClipEvent(enterFrame){
  2.    if(this.score > 15 and this._x > 600)
  3.    {
  4.       this._x -= 2;
  5.    }
  6.    if(_root.hero.hitTest(this.ufotop) && _root.hero._y < this._y)
  7.    {
  8.       this.gotoAndStop(2);
  9.    }
  10.    else
  11.    {
  12.       this.gotoAndStop(1);
  13.    }
  14. }
  15.